package ed.view.desktop;

import java.awt.BorderLayout;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.Toolkit;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;

import ed.view.hashing.CelulaView;
import ed.view.hashing.OpenHashingView;

@SuppressWarnings("serial")
public class Desktop extends JFrame{
	
	
	
	public Desktop(){
		Dimension tela = Toolkit.getDefaultToolkit().getScreenSize();
		setVisible(true);
		
//		JPanel principal = new JPanel();
//		principal.setBorder(new EmptyBorder(10, 10, 10, 10));//tamanho e estilo da borda
//		principal.setLayout(new BorderLayout(5, 5)); // layout
//		setContentPane(principal);
		CelulaView[] lista=null;
		for (int i=0; i<5; i++){
			lista[i]=new CelulaView(null, 30+i, 50, i, null);
		}
		
		OpenHashingView open = new OpenHashingView();
		setContentPane(open);
		setExtendedState(JFrame.MAXIMIZED_BOTH);
		setDefaultCloseOperation(EXIT_ON_CLOSE);
		setBackground(Color.blue);
		
		
	}

	public static void main(String[] args) {
		new Desktop();
		
	}
}
